<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class UserProfile extends Model
{
    protected  $table="user_profiles";

    protected $fillable = [
        'user_id',
        'real_name',
        'nick_name',
    ];


    public  function  user(){
      return   $this->belongsTo(User::class,"user_id");
    }

}
